package uk.ac.cam.djjb2.mygame;

import org.newdawn.slick.AppGameContainer;
import org.newdawn.slick.GameContainer;
import org.newdawn.slick.SlickException;
import org.newdawn.slick.state.StateBasedGame;

public class GameClient extends StateBasedGame {

	public GameClient() {
		super("Game Client");
	}

	@Override
	public void initStatesList(GameContainer container) throws SlickException {
		this.addState(new GameClientState());
	}

	public static void main(String[] args) {
		try {
			AppGameContainer app = new AppGameContainer(new GameClient());
			app.setDisplayMode(800, 600, false);
			app.start();
		} catch (SlickException e) {
			e.printStackTrace();
		}
	}
}
